package com.zhuliwei.constants;

/**
 * 常量类
 *
 * @author 朱力维
 * @time 2022/10/7 18:25
 **/
public class SystemConstants {
    /**
     * 文章是草稿
     */
    public static final int ARTICLE_STATUS_DRAFT = 1;
    /**
     * 文章是正常发布状态
     */
    public static final int ARTICLE_STATUS_NORMAL = 0;

    /**
     * 正常状态常量
     */
    public static final String STATUS_NORMAL = "0";
    public static final String LINK_STATUS_NORMAL = "0";
    public static final String ARTICLE_IS_TOP = "1";
    public static final String ARTICLE_NOT_TOP = "0";
    public static final String BLOG_LOGIN_PREFIX = "bloglogin:";
    public static final String WX_USER_PREFIX = "wxuser_";
    public static final String ADMIN_LOGIN_PREFIX = "adminlogin:";
    public static final String EMAIL_CODE_PREFIX = "email:";

    public static final String BLOG_SUBJECT = "【ZLWBlog】";

    public static final String EMAIL_SENDER = "zlw_soft@126.com";
    public static final String VIEWCOUNT_MAP_PREFIX = "article:viewCount";
    public static final String LIKES_MAP_PREFIX = "article:likes";
    public static final String COMMENT_IS_ROOT = "-1";
    /**
     * 文章评论
     */
    public static final String ARTICLE_COMMENT = "0";
    /**
     * 友链评论
     */
    public static final String LINK_COMMENT = "1";
    public static final String MENU = "C";
    public static final String BUTTON = "F";

    /** 正常状态 */
    public static final String NORMAL = "0";
    public static final String TYPE_ADMIN = "1";
    public static final String TYPE_USER = "0";
    public static final Object COMMENT_NORMAL = "0";
    public static final String ARTICLE_COMMENT_NO = "0";
    public static final String NOTICE_COMMENT_PREFIX = "您收到一条新回复：";
    public static final String NOTICE_ARTICLE_PREFIX = "有新文章发布了：";
    public static final String NOTICE_TYPE_SYSTEM = "3";
    public static final String CHAT_CONTENT_NORMAL = "0";
    public static final String CHAT_CONTENT_IMAGE = "1";
    public static final String CHAT_CONTENT_AUDIO = "2";
    public static final String CHAT_CONTENT_TRANSLATION = "3";
    public static final String CHAT_CONTENT_MULTI = "4";
}